ListBox.CellType

Sets the type of the passed cell. Use the following class constants to set the CellType.

Syntax

CellType( Row, Column ) as Integer


Parameters

Row

Integer

Column

Integer


Notes

The first cell is 0,0.

TypeDefault (0): Default, same as column type

TypeNormal (1): Normal

TypeCheckBox (2): Add checkbox

TypeEditable (3): Inline editable

For example:

lb1.CellType(1,1)=ListBox.TypeCheckBox

The values of CellType > 0 override ColumnType. For example, if ColumnType is 2, but a cell in the column has CellType set to 1, the cell will be normal.